package MapBase.logic.control.MapBaseControl.Mouse
{
	/**
	 *删除实体 
	 */	
	import MapBase.logic.MapBase;

	public class MapBaseDelEntity
	{
		public function MapBaseDelEntity()
		{
			
		}
		
		static public function  MDownCMD(mapBase:MapBase,selectEntityLayer:Boolean,delEntity:Boolean,byMouse:Boolean) : void
		{
			if(!selectEntityLayer)	 return;
			
			if(!delEntity) 			 return;
			
			if(byMouse)
			{
				mapBase.delObjByMouse(null);
			}
		}
	}
}